package com.yinbing.recruit.service;

import com.yinbing.recruit.dao.EnterpriseDao;
import com.yinbing.recruit.pojo.Enterprise;
import org.springframework.beans.factory.annotation.Autowired;
import util.IdWorker;

import java.util.List;

/**
 * Create by 尹冰 on 2019/1/28 0028
 */
public class RecruitService {

    @Autowired
    private EnterpriseDao enterpriseDao;

    @Autowired
    private IdWorker idWorker;

    public List<Enterprise> hotList(String ishot){
        return enterpriseDao.findByIshot(ishot);
    }
}
